Skip to main content

DescribeRouteTableList

Description

call the DescribeRouteTableList interface to query the routing table list.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeRouteTableList

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RouteTableIdBODYstringNovtb-bp145q7glnuzdvzu2****ID of the routing table to query.
Tag.N.KeyBODYstringNoKey1tag key.
PageSizeBODYintegerNo10The number of rows per page during paging query, the maximum value is 50, the default value is 10.
ResourceGroupIdBODYstringNorg-acfmxazb4ph****ID of the resource group to which the routing table to be queried belongs.
RouterIdBODYstringNovrt-bp1lhl0taikrteen8****ID of the router to which the routing table to be queried belongs.
versionBODYstringNo2016-01-01version of api
VpcIdBODYstringNovpc-bp15zckdt37pq72****the ID of the VPC router to which the routing table to be queried belongs. After specifying this parameter,RouterType the value of the parameter is automatically set to VRouter.
RouterTypeBODYstringNoVBRthe type of router to which the routing table to be queried belongs. Value: VRouter(default):VPC router. VBR: border router.
PageNumberBODYintegerNo1page number of the list, the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
Tag.N.ValueBODYstringNoValue1label value.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the VPC to which the routing table to be queried belongs. You can obtain the region ID by calling the DescribeRegions interface.
RouteTableNameBODYstringNodoctestthe name of the routing table to query.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}